<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Complex Layout - jQuery EasyUI Demo</title>
    <link rel="stylesheet" type="text/css" href="jeasyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="jeasyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="jeasyui/demo/demo.css">
    <script type="text/javascript" src="jeasyui/jquery.min.js"></script>
    <script type="text/javascript" src="jeasyui/jquery.easyui.min.js"></script>
    
    <script type="text/javascript">
    
    $(function(){
        $('#login').bind('click', function(){
            $('#win').dialog({
                title: 'Autentificare',
                width: 400,
                height: 200,
                closed: false,
                cache: false,
                href: 'get_content.php',
                modal: true
            });
        });
    });
    
    
    
    </script>
    
</head>
<body class="easyui-layout">
        <div data-options="region:'north'" style="height:50px">
        here is a <a id="login" href="#">login link</a>
        </div>

        <div data-options="region:'south',split:true,maxHeight:32,minHeight:32" style="height:32px;background:#DBECFF">
            <div style="width:400px;float:right;text-align:right;padding-top:4px;padding-right:10px;">OpenSource Project maintained by Adrian Rusu</div>
        </div>

<!--
        <div data-options="region:'east',split:true" title="East" style="width:100px;">
            <div title="Title1" data-options="selected:true" style="padding:10px;">
                    content1
                </div>
        </div>
-->
        <div data-options="region:'west',split:true" title="West" style="width:210px;">
            <div class="easyui-accordion" data-options="fit:true,border:false">
                <div title="Meniu" style="padding:5px;">
                    <ul class="easyui-tree" data-options="url:'tree_data1.json',method:'get',animate:true,dnd:true,selected:true"></ul>
                </div>
                <div title="Profil utilizator" data-options="" style="padding:10px;">
                    content2
                </div>
            </div>
        </div>
        <div data-options="region:'center',title:'Main Title',iconCls:'icon-ok'">
            <div class="easyui-tabs" data-options="fit:true,border:false,plain:true">
                <div title="About" data-options="href:'_content.html'" style="padding:10px"></div>
                <div title="DataGrid" style="padding:5px">
                    <table class="easyui-datagrid"
                            data-options="url:'datagrid_data1.json',method:'get',singleSelect:true,fit:true,fitColumns:true">
                        <thead>
                            <tr>
                                <th data-options="field:'itemid'" width="80">Item ID</th>
                                <th data-options="field:'productid'" width="100">Product ID</th>
                                <th data-options="field:'listprice',align:'right'" width="80">List Price</th>
                                <th data-options="field:'unitcost',align:'right'" width="80">Unit Cost</th>
                                <th data-options="field:'attr1'" width="150">Attribute</th>
                                <th data-options="field:'status',align:'center'" width="50">Status</th>
                            </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
        
  <div id="win">blabla</div>
    
</body>
</html>